package com.yunhe.policyfulfillment.authority.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @ClassName PolicyCompanyRegistrationQueryCondition
 * @Description TODO
 * @Author HeTao
 * @Date 2021/9/18 10:07
 * @Version 1.0
 **/
@Data
@ApiModel("企业注册查询条件")
public class PolicyCompanyRegistrationQueryCondition implements Serializable {

    private static final long serialVersionUID = -3931512969178480973L;

    @ApiModelProperty("企业名称")
    private String companyName;

    @ApiModelProperty(value = "归属园区",required = false)
    private Integer ownedPark;


    @ApiModelProperty(value = "申请开始时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String applyStartTime;

    @ApiModelProperty(value = "申请结束时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String applyEndTime;

    @ApiModelProperty(value = "当前页",required = true)
    private int page;

    @ApiModelProperty(value = "页面条数",required = true)
    private int size;
}
